//
//  CPMineViewController.swift
//  cockpit
//
//  Created by Haijun Si on 2020/7/7.
//  Copyright © 2020 chenganrt. All rights reserved.
//

import UIKit

class CPMineViewController: CPBaseViewController {

    override func viewDidLoad() {
        super.viewDidLoad()

        // Do any additional setup after loading the view.
        self.view.backgroundColor = .blue
    }
    
    override func setNavigationBarView() {
        self.hidLeftBtn = true
        self.rightBtnTitle = "测试"
    }
    
    override func rightBarButtonClick() {
        toast(text: "测试按钮点击")
        let LoginVC = CPLoginViewController()
        self.navigationController?.pushViewController(LoginVC, animated: true)
    }
    
    /*
    // MARK: - Navigation

    // In a storyboard-based application, you will often want to do a little preparation before navigation
    override func prepare(for segue: UIStoryboardSegue, sender: Any?) {
        // Get the new view controller using segue.destination.
        // Pass the selected object to the new view controller.
    }
    */

}
